package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压力告警统计结果对象 dispatchPressureAlarmStatistics
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchPressureAlarmStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 压力告警统计结果 */
    @Excel(name = "压力告警统计结果")
    private Long pressureAlarmStatisticsId;

    /** 统计类型 */
    @Excel(name = "统计类型")
    private String statisticType;

    /** 统计的日期或时间范围 */
    @Excel(name = "统计的日期或时间范围")
    private String statisticDate;

    /** 告警类型 */
    @Excel(name = "告警类型")
    private String alarmType;

    /** 该时间段内的告警次数 */
    @Excel(name = "该时间段内的告警次数")
    private Long alarmCount;

    /** 总告警次数 */
    @Excel(name = "总告警次数")
    private Long totalAlarmCount;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 该时间段内告警次数占总告警次数的比例 */
    @Excel(name = "该时间段内告警次数占总告警次数的比例")
    private BigDecimal alarmRatio;

    public void setPressureAlarmStatisticsId(Long pressureAlarmStatisticsId) 
    {
        this.pressureAlarmStatisticsId = pressureAlarmStatisticsId;
    }

    public Long getPressureAlarmStatisticsId() 
    {
        return pressureAlarmStatisticsId;
    }
    public void setStatisticType(String statisticType) 
    {
        this.statisticType = statisticType;
    }

    public String getStatisticType() 
    {
        return statisticType;
    }
    public void setStatisticDate(String statisticDate) 
    {
        this.statisticDate = statisticDate;
    }

    public String getStatisticDate() 
    {
        return statisticDate;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmCount(Long alarmCount) 
    {
        this.alarmCount = alarmCount;
    }

    public Long getAlarmCount() 
    {
        return alarmCount;
    }
    public void setTotalAlarmCount(Long totalAlarmCount) 
    {
        this.totalAlarmCount = totalAlarmCount;
    }

    public Long getTotalAlarmCount() 
    {
        return totalAlarmCount;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setAlarmRatio(BigDecimal alarmRatio) 
    {
        this.alarmRatio = alarmRatio;
    }

    public BigDecimal getAlarmRatio() 
    {
        return alarmRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pressureAlarmStatisticsId", getPressureAlarmStatisticsId())
            .append("statisticType", getStatisticType())
            .append("statisticDate", getStatisticDate())
            .append("alarmType", getAlarmType())
            .append("alarmCount", getAlarmCount())
            .append("totalAlarmCount", getTotalAlarmCount())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("alarmRatio", getAlarmRatio())
            .toString();
    }
}
